﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../MasterPages/MedianamikModule.Master" CodeBehind="userList.aspx.cs" Inherits="Medianamik.UI.Blog.userList" %>

<asp:Content ID="ContextMenuContent" ContentPlaceHolderID="ContextMenu" runat="server">
    <a href="<%= ManagementURL %>" class="Action BtAjoutPage"><asp:Localize runat="server" 
        Text="<%$ Resources: Medianamik_Blog, AddUser%>" /></a>
	<asp:HyperLink runat="server" ID="ReturnLink" CssClass="Action BtAnnuler-Inactif" 
	    Text="<%$ Resources: Medianamik_Global, Cancel %>" />
</asp:Content>

<asp:Content ID="CenterContent" ContentPlaceHolderID="CenterContent" runat="server">
    <asp:UpdatePanel ID="ForumUserUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <telerik:RadGrid runat="server" ID="ForumUserGrid" EnableEmbeddedSkins="false" 
                Skin="Medianamik" AllowPaging="false" AutoGenerateColumns="false" Width="100%">
                <MasterTableView DataKeyNames="ID">
                <Columns>
		            <telerik:GridBoundColumn DataField="FullName" HeaderText="<%$ Resources: Medianamik_Blog, BlogContainer_GridUserNameColumn %>" />
	                <telerik:GridTemplateColumn HeaderText="<%$ Resources: Medianamik_Blog, BlogContainer_GridGroupNameColumn %>">
	                    <ItemTemplate>
	                        <%# GetUserRole((Guid)Eval("UserId")) %>
	                    </ItemTemplate>
	                </telerik:GridTemplateColumn>
	            </Columns>
	            </MasterTableView>
            </telerik:RadGrid>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>